<%@page import="java.util.Map"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Collection"%>
<%@page import="java.util.Date"%>
<%@page import="java.util.Calendar"%>
<%@page import="java.util.LinkedList"%>
<%@page import="com.liferay.util.portlet.PortletRequestUtil"%>
<%@page import="javax.portlet.PortletRequest"%>
<%@page import="java.util.Enumeration"%>
<%@page import="java.util.List"%>
<%@page import="modeloDatos.*"%>
<%@page import="logica.*"%>
<%@page import="persistencia.*"%>
<%@page import="javax.portlet.*"%>
<%@page import="com.liferay.portal.model.User"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="com.liferay.portal.util.PortalUtil"%>
<%@page import="com.liferay.util.portlet.PortletRequestUtil"%>
<%@page import="javax.portlet.PortletRequest"%>
<%@page import="java.util.Enumeration"%>
<%@page import="javax.portlet.*"%>
<%@page import="com.liferay.portal.model.User"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="com.liferay.portlet.PortletConfigFactoryUtil"%>
<%@page import="javax.portlet.PortletSessionUtil"%>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@ page import="com.liferay.portal.kernel.util.ParamUtil" %>
<%@ page import="com.liferay.portal.kernel.util.Validator" %>
<%@ page import="javax.portlet.PortletPreferences" %>
<%@page import="com.liferay.util.portlet.PortletRequestUtil"%>
<%@page import="javax.portlet.PortletRequest"%>
<%@page import="java.util.Enumeration"%>
<%@page import="java.util.List"%>
<%@page import="javax.portlet.*"%>
<%@page import="com.liferay.portal.model.User"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<portlet:defineObjects/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
<%@ include file="/css/main.css"%>
</style>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Servicios contratados</title>
</head>
<body>
<% 
OperacionesClientes opC = new OperacionesClientes();
String nombreCompleto = "";

if(renderRequest.getParameter("idCliente")== null){
//ERROR CLIENTE NO DEFINIDO
}else{
	Cliente cliente;
	if((cliente = opC.getCliente(Integer.parseInt(renderRequest.getParameter("idCliente"))))!= null){
		nombreCompleto = cliente.getNombre() + " " + cliente.getApellidos();
	}else{
		//ERROR CLIENTE NO DEFINIDO
	}
}
%>
	<div><label>Servicios contratados por el cliente <%=nombreCompleto%></label></div>
</body>
</html>